package com.webfinal.backsystem.dao;

import com.webfinal.backsystem.entity.Activity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ActivityMapper {
    int deleteByPrimaryKey(Integer activityId);

    int insert(Activity record);

    Activity selectByPrimaryKey(Integer activityId);

    List<Activity> selectAll();

    int updateByPrimaryKey(Activity record);

    List<Activity> selectByname(String activityName);
}